<template>
  <div class="breadcrumb">
    <el-breadcrumb>
      <template v-for="item in routeArr" :key="item.id">
        <el-breadcrumb-item>{{ item.name }}</el-breadcrumb-item>
      </template>
    </el-breadcrumb>
  </div>
</template>

<script setup lang="ts">
interface IBreadcrumbProps {
  routeArr: any[]
}
defineProps<IBreadcrumbProps>()
</script>

<style lang="less" scoped></style>
